package com.aidong.home.entity;

import java.io.Serializable;

import static com.aidong.util.QiniuUtil.QINIU_URL;
import static com.aidong.util.QiniuUtil.QINIU_VIDEO_URL;

/**
 * Created by john on 17-4-24.
 */
public class Video implements Serializable {
    private static final long serialVersionUID = -932549084507144872L;
    private int id;
    private String name;
    private String cover;
    private String video;
    private String during;
    private String introduce;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCover() {
        return QINIU_URL + cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getVideo() {
        return QINIU_VIDEO_URL + video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getDuring() {
        return during;
    }

    public void setDuring(String during) {
        this.during = during;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
